"""


"""

import wx


class AppWXGui(wx.App):

    def OnInit(self):
        frame = wx.Frame(parent=None, title='Hello wxPython')
        """
       parent       顶级窗口是None
       
        """
        frame = wx.Frame(parent=None, id=-1, title='hello world', pos=wx.DefaultPosition, size=wx.DefaultSize,
                         style=wx.DEFAULT_FRAME_STYLE, name='frame')

        frame.Show()
        return True


if __name__ == '__main__':
    app = AppWXGui()
    app.MainLoop()
# 展示一个黑框 Frame
